package com.geeklei.media.ui;

import com.geeklei.media.ui.common.ErrorEvent;

import tv.danmaku.ijk.media.player.IMediaPlayer;

/**
 * Created by leixun on 2016/6/24.
 */

public interface MediaPlayerListener {
    void mBufferingUpdate(IMediaPlayer mp, int percent);

    void mCompletion(IMediaPlayer mp);

    ErrorEvent mError(IMediaPlayer mp, int what, int extra);

    void mPrepared(IMediaPlayer im);

    void mInfo(IMediaPlayer mp, int what, int extra);
}
